<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>认证</title>
    <link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.min.css">
    <script>
        window.$ = window.jQuery = require("jquery")
    </script>
    <script src="../node_modules/popper.js/dist/umd/popper.min.js"></script>
    <script src="../node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
    <style type="text/css">
        body {
            height: 900px;
            margin: 0 10px 0 10px;
        }
        .lead th {
            vert-align: middle;
            font-size: x-large;
            text-align: center;
        }
        .lead th a {
            color: silver;
            line-height: 60px;
        }
        .lead th img {
            width: 70px;
            height: 60px;
        }
        #web_bg {
            position:fixed;
            top: 0;
            left: 0;
            width:100%;
            height:100%;
            min-width: 1000px;
            z-index:-10;
            zoom: 1;
            background-repeat: no-repeat;
            background-size: cover;
        }
        input {
            width: 60%;
            height: 50px;
            border-radius: 10%;
            border-color: cornflowerblue;
            background: transparent;
        }
        .org_submit {
            width: 60%;
            height: 60px;
            background: transparent;
            border-color: coral;
            border-radius: 15%;
        }
        .org_submit a {
            color: black;
        }
        .input_info {
            height: 130px;
        }
    </style>
</head>
<body>
<div id="web_bg" style="background-image: url(src/assets/images/idenbackground.jpg);"></div>
<table class="table table-dark lead" style="margin-bottom: 0;">
    <thead>
    <tr>
        <th><img src="src/assets/images/sign.jpeg"></th>
        <th><a href="home.html">主界面</a> </th>
        <th ><a href="explore.html">更多项目</a> </th>
        <th ><a href="identification.html">发起募捐</a> </th>
        <th><a href="user.html"> <img src="src/open-iconic-master/svg/person.svg" alt="no image"></a></th>
    </tr>
    </thead>
</table>
<div style="text-align: center">
    <p style="margin-top: 30px">为了加入我们，你需要填写组织（个人）信息以通过认证。如果你
        是机构的代表，请选择“机构注册”。如果你是个人，请选择“个人注册”</p>
    <div class="container" style="margin-top: 40px">
        <div class="row">
            <div class="col-md-6 org">
                <h2>机构认证</h2>
                <hr>
                <form style="height: 400px">
                    <h4 style="height: 60px">请提供你所在组织的注册号</h4>
                    <div class="input_info">
                        <input type="text" id="text_id">
                    </div>
                    <button class="org_submit" id="org_submit">提交认证</button>
                </form>
            </div>
            <div class="col-md-6">
                <h2>个人认证</h2>
                <hr>
                <form>
                    <h4 style="height: 60px">填写认证申请表，我们将会尽快审核</h4>
                    <div class="input_info"></div>
                    <button class="org_submit"><a href="personalIdentification.html">填写认证表</a> </button>
                </form>
            </div>
        </div>
    </div>
</div>
<script>
    document.getElementById("org_submit").addEventListener("click", () => {
        let info = document.getElementById("text_id").value
        if (info == null || info.length === 0) {
            alert("请填写注册号")
        } else {
            alert("您已成功提交！")
        }
    })
</script>
</body>
</html>